package com.datang.petstore.entity;

import java.io.Serializable;
import java.util.Date;

public class Microblog implements Serializable {
    private Integer id;

    private String text;

    private String mediaUrl;

    private String mediaType;

    private Integer likeNumber;

    private Integer commentNumber;

    private Integer transmitNumber;

    private Integer shareNumber;

    private Integer informNumber;

    private Integer petMold;

    private String userId;

    private Date date;

    private String label;

    private String facilityModel;

    private String country;

    private String province;

    private String city;

    private String district;

    private String address;

    private String del;

    private Integer originalId;

    private String transmitText;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    public String getMediaUrl() {
        return mediaUrl;
    }

    public void setMediaUrl(String mediaUrl) {
        this.mediaUrl = mediaUrl == null ? null : mediaUrl.trim();
    }

    public String getMediaType() {
        return mediaType;
    }

    public void setMediaType(String mediaType) {
        this.mediaType = mediaType == null ? null : mediaType.trim();
    }

    public Integer getLikeNumber() {
        return likeNumber;
    }

    public void setLikeNumber(Integer likeNumber) {
        this.likeNumber = likeNumber;
    }

    public Integer getCommentNumber() {
        return commentNumber;
    }

    public void setCommentNumber(Integer commentNumber) {
        this.commentNumber = commentNumber;
    }

    public Integer getTransmitNumber() {
        return transmitNumber;
    }

    public void setTransmitNumber(Integer transmitNumber) {
        this.transmitNumber = transmitNumber;
    }

    public Integer getShareNumber() {
        return shareNumber;
    }

    public void setShareNumber(Integer shareNumber) {
        this.shareNumber = shareNumber;
    }

    public Integer getInformNumber() {
        return informNumber;
    }

    public void setInformNumber(Integer informNumber) {
        this.informNumber = informNumber;
    }

    public Integer getPetMold() {
        return petMold;
    }

    public void setPetMold(Integer petMold) {
        this.petMold = petMold;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label == null ? null : label.trim();
    }

    public String getFacilityModel() {
        return facilityModel;
    }

    public void setFacilityModel(String facilityModel) {
        this.facilityModel = facilityModel == null ? null : facilityModel.trim();
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country == null ? null : country.trim();
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district == null ? null : district.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getDel() {
        return del;
    }

    public void setDel(String del) {
        this.del = del == null ? null : del.trim();
    }

    public Integer getOriginalId() {
        return originalId;
    }

    public void setOriginalId(Integer originalId) {
        this.originalId = originalId;
    }

    public String getTransmitText() {
        return transmitText;
    }

    public void setTransmitText(String transmitText) {
        this.transmitText = transmitText == null ? null : transmitText.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", text=").append(text);
        sb.append(", mediaUrl=").append(mediaUrl);
        sb.append(", mediaType=").append(mediaType);
        sb.append(", likeNumber=").append(likeNumber);
        sb.append(", commentNumber=").append(commentNumber);
        sb.append(", transmitNumber=").append(transmitNumber);
        sb.append(", shareNumber=").append(shareNumber);
        sb.append(", informNumber=").append(informNumber);
        sb.append(", petMold=").append(petMold);
        sb.append(", userId=").append(userId);
        sb.append(", date=").append(date);
        sb.append(", label=").append(label);
        sb.append(", facilityModel=").append(facilityModel);
        sb.append(", country=").append(country);
        sb.append(", province=").append(province);
        sb.append(", city=").append(city);
        sb.append(", district=").append(district);
        sb.append(", address=").append(address);
        sb.append(", del=").append(del);
        sb.append(", originalId=").append(originalId);
        sb.append(", transmitText=").append(transmitText);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}